{% extends "base.html" %}
{% load i18n %}

{% block title %}{% trans "Welcome" %}{% endblock %}
{% block container_class %}container_narrow{% endblock %}
{% block content %}
<div class="loginbox">
	<form method="post" action="">
		{% if auth_fail %}<div class="auth_fail">{% trans "Authentication failed!" %}</div>{% endif %}
		<table>
		{{ login_form.as_table }}
		<tr>
			<th><a href="{% url registration.views.register %}" class="reg_link">{% trans "Register?" %}</a></th>
			<td class="submit_td"><input type="submit" value="{% trans "Login" %}" /></td>
		</tr>
		<tr>
			<th colspan="2"><a href="{% url auth_password_reset %}" class="reg_link">{% trans "Forgot password?" %}</a></th>
		</tr>
		</table>
	</form>
</div>
<h1>{% trans "Welcome to PyGoWave Server!" %}</h1>
{% blocktrans %}
<p>You are looking at the start page of a very ambitious project. This is still
early alpha and may be unreliable and inaccurate for the time being.</p>
<p>I know, the style is a quick-and-dirty-rip-off from Google, but it serves
the purpose right now.</p>
{% endblocktrans %}
<p>
{% blocktrans count online_count as online_count %}
Currently, there is <b>{{ online_count }}</b> user online out of
{{ users_count }} registred users.
{% plural %}
Currently, there are <b>{{ online_count }}</b> users online out of
{{ users_count }} registred users.
{% endblocktrans %}
</p>
{% include "pygowave_server/project_status.html" %}
<p>
{% blocktrans %}
Disclaimer: This is highly experimental. By using this software you are
completely on your own. No warranty for anything. Also note, that you are being
tracked by Google Analytics. I am just too curious :)
{% endblocktrans %}
</p>
{% endblock %}